<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        
        var i=1
        while(i<=9){
            var j=1
            while(j<=i){
                document.write(i+"*"+j+"="+(i*j)+"&nbsp;&nbsp;&nbsp;")
                j++
            }
            document.write("<hr>")
            i++
        }
        var arr=["北京","上海","广州","深圳"]
        for(var i=0;i<arr.length;i++){
            document.write(arr[i])
        }
        document.write("<hr>")
        for(var index in arr){
            document.write(arr[index])
        }
    </script>
</head>
<body>
    
</body>
</html>